package com.neuedu.service.impl;

import com.neuedu.dao.DeptClassityDao;
import com.neuedu.dao.DoctorPositionDao;
import com.neuedu.factory.ClassFactory;
import com.neuedu.service.DoctorPositionService;

import java.util.List;
import java.util.Map;

public class DoctorPositionServiceImpl implements DoctorPositionService {
    @Override
    public List<Map<String, Object>> getAllDoctorPositionService() {
        DoctorPositionDao dcd = (DoctorPositionDao) ClassFactory.createObj("DoctorPositionDao");
        String sql = "SELECT * FROM doctorposition;";
        return dcd.getAllDoctorPositionService(sql);
    }
}
